package com.hfjyz.examination.exception;

public class HfjyzException extends Exception {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -5278465460644123582L;

	private String errorCode;

	public HfjyzException(String errorCode) {
		super();
		this.errorCode = errorCode;
	}

	public HfjyzException(String errorCode, Throwable cause) {
		super(cause);
		this.errorCode = errorCode;
	}

	/**
	 * @return the errorCode
	 */
	public String getErrorCode() {
		return errorCode;
	}

	/**
	 * @param errorCode
	 *            the errorCode to set
	 */
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

}
